<link rel="stylesheet" href="ccay/example/demo.css"  type="text/css" />
<h4><span>说明</span></h4>
<div style="padding:0 0 10px 0;line-height:1.8;text-indent:2em">    
	欢迎使用Ccay Demo&amp;FAQ，下面列表为 DEMO&amp;FAQ 目录，可以点击其中的链接地址直接进入对应示例。
</div>

<div id="demoNavigation"></div>

<script type="text/javascript">
$(function(){
	var datas = [
		{"classify": "UI_demo", "module": "公共方法", "demo": "首页绑定", "func": "", "desc": "", "url": "ccay/example/baseFunction/indexInit.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "同步异步设置", "func": "", "desc": "", "url": "ccay/example/baseFunction/operation.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "获取数据字典", "func": "", "desc": "", "url": "ccay/example/baseFunction/getRegistryData.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "格式化输出", "func": "", "desc": "", "url": "ccay/example/baseFunction/formatOutput.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "数据格式化", "func": "", "desc": "", "url": "ccay/example/baseFunction/dataFormat.html", "abet": ""},
		{"classify": "UI_demo", "module": "权限控制页面区域", "demo": "权限控制页面区域", "func": "", "desc": "", "url": "ccay/example/ui/permissionControl/permissionControl.html", "abet": ""},
		{"classify": "UI_demo", "module": "基本页面样式标准", "demo": "编辑表单", "func": "", "desc": "", "url": "ccay/example/ui/htmlstyle/edit.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "查询表单", "func": "", "desc": "", "url": "ccay/example/ui/htmlstyle/search.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "查看表单", "func": "", "desc": "", "url": "ccay/example/ui/htmlstyle/view.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "Table样式", "func": "", "desc": "", "url": "ccay/example/ui/table/table.html", "abet": ""},
		{"classify": "UI_demo", "module": "基础组件", "demo": "iframe", "func": "", "desc": "", "url": "ccay/example/ui/iframe/iframe.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "loading", "func": "", "desc": "", "url": "ccay/example/ui/loading/loading.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "showImage", "func": "", "desc": "", "url": "ccay/example/ui/showImage/showImage.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "滑块", "func": "", "desc": "", "url": "ccay/example/ui/slider/slider.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "日期", "func": "", "desc": "", "url": "ccay/example/ui/datepicker/datepicker.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "校验", "func": "", "desc": "", "url": "ccay/example/ui/validate/validate.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "工作流-简易图", "func": "", "desc": "", "url": "ccay/example/ui/simpleflow/simpleFlow.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "图标", "func": "", "desc": "", "url": "ccay/example/ui/icon/icon.html", "abet": ""},
		{"classify": "UI_demo", "module": "数据列表", "demo": "Tree", "func": "", "desc": "", "url": "ccay/example/ui/tree/tree.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "pager", "func": "", "desc": "", "url": "ccay/example/ui/pager/pager.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "IGrid组件", "func": "IGrid基础功能", "desc": "API、基础属性、columns基本属性、单选or多选、自定义表头", "url": "ccay/example/ui/igrid/base.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "", "func": "IGrid渲染器功能", "desc": "API、内置渲染器、自定义渲染器", "url": "ccay/example/ui/igrid/renderFunction.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "", "func": "IGrid事件功能", "desc": "API、事件属性", "url": "ccay/example/ui/igrid/eventFunction.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "", "func": "IGrid编辑器功能", "desc": "API、编辑器模式、内置编辑器、自定义编辑器", "url": "ccay/example/ui/igrid/editorFunction.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "", "func": "IGrid验证器功能", "desc": "API、内置验证器、自定义验证器", "url": "ccay/example/ui/igrid/validateFunction.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "", "func": "IGrid分页功能", "desc": "API、通用翻页、滚动分页", "url": "ccay/example/ui/igrid/search.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "", "func": "IGrid操作功能", "desc": "API、增删改操作、内置列增删改操作、弹出框增删改操作", "url": "ccay/example/ui/igrid/operation.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "", "func": "IGrid滚动加载功能", "desc": "API、滚动加载、行合并滚动加载、行分组滚动加载", "url": "ccay/example/ui/igrid/scrollLoadFunction.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "", "func": "IGrid上下文菜单功能", "desc": "API、内置上下文菜单、自定义上下文菜单", "url": "ccay/example/ui/igrid/menuFunction.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "", "func": "IGrid Manager功能", "desc": "API、IGrid的manager()方法表", "url": "ccay/example/ui/igrid/managerFunction.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "", "func": "IGrid自定义编辑器扩展", "desc": "", "url": "ccay/example/ui/igrid/customEditor.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "", "func": "IGrid行渲染Form", "desc": "", "url": "ccay/example/ui/igrid/sort.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "", "func": "IGrid特殊场景", "desc": "", "url": "ccay/example/ui/igrid/customRenderer.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "", "func": "IGrid内嵌", "desc": "", "url": "ccay/example/ui/igrid/neiqian.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "", "func": "IGrid列的延迟加载", "desc": "", "url": "ccay/demo/ui/igrid/columnLoad.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "", "func": "IGrid复制粘贴", "desc": "", "url": "ccay/example/ui/igrid/copyPaste.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "", "func": "IGrid过滤功能", "desc": "", "url": "ccay/example/ui/igrid/filter.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "", "func": "IGrid其他功能", "desc": "个性化、全屏", "url": "ccay/example/ui/igrid/otherFunction.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "Template模板", "func": "核心功能", "desc": "", "url": "ccay/example/ui/templet/coreTempletDemo.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "", "func": "Html模板", "desc": "", "url": "ccay/example/ui/templet/HtmlTemplet.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "", "func": "JQuery通用模板", "desc": "", "url": "ccay/example/ui/templet/JQueryTemplate.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "", "func": "列表模板", "desc": "", "url": "ccay/example/ui/templet/listTemplet.html", "abet": ""},
		{"classify": "UI_demo", "module": "容器组件", "demo": "通用弹出框组件", "func": "", "desc": "", "url": "ccay/example/ui/dialog/popup.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "富文本组件", "func": "", "desc": "", "url": "ccay/example/ui/richtext/richText.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "弹出框组件", "func": "", "desc": "", "url": "ccay/example/ui/dialog/dialog.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "打开页面", "func": "", "desc": "", "url": "ccay/example/ui/pageswitch/pageSwitch.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "Tab组件", "func": "", "desc": "", "url": "ccay/example/ui/tab/tab.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "浮动bar", "func": "", "desc": "", "url": "ccay/demo/ui/floatbar.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "工具条", "func": "", "desc": "", "url": "ccay/example/ui/toolbar/toolbar.html", "abet": ""},
		{"classify": "UI_demo", "module": "消息组件", "demo": "messageBox消息框", "func": "", "desc": "", "url": "ccay/example/ui/messagebox/messageBox.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "TopBox", "func": "", "desc": "", "url": "ccay/example/ui/topbox/topBox.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "tip消息框", "func": "", "desc": "", "url": "ccay/example/ui/tip/tip.html", "abet": ""},
		{"classify": "UI_demo", "module": "Widget组件", "demo": "xForm", "func": "", "desc": "", "url": "ccay/example/ui/widget/xFormFunction.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "widget", "func": "", "desc": "", "url": "ccay/example/ui/widget/widgetFunction.html", "abet": ""},
		{"classify": "UI_demo", "module": "图表组件", "demo": "jqplot", "func": "柱图", "desc": "", "url": "ccay/example/ui/chart/jqplot/barDemo.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "", "func": "饼图", "desc": "", "url": "ccay/example/ui/chart/jqplot/pieDemo.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "", "func": "线图", "desc": "", "url": "ccay/example/ui/chart/jqplot/lineDemo.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "", "func": "点图", "desc": "", "url": "ccay/example/ui/chart/jqplot/pointDemo.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "线图", "func": "", "desc": "", "url": "ccay/example/ui/line/lineDemo.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "饼图", "func": "", "desc": "", "url": "ccay/example/ui/pie/pieDemo.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "数据绑定", "func": "", "desc": "", "url": "ccay/example/ui/dataBind/dataBindDemo.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "点图", "func": "", "desc": "", "url": "ccay/example/ui/point/pointDemo.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "柱图", "func": "", "desc": "", "url": "ccay/example/ui/bar/barDemo.html", "abet": ""},
		{"classify": "UI_demo", "module": "选择组件", "demo": "丰富选择组件", "func": "", "desc": "", "url": "ccay/example/ui/dropdown/richSelect.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "Suggest联想框", "func": "", "desc": "", "url": "ccay/example/ui/suggest/suggest.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "联想弹出框", "func": "", "desc": "", "url": "ccay/example/ui/dialog/popbox.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "combo下拉框", "func": "", "desc": "", "url": "ccay/example/ui/combobox/combobox.html", "abet": ""},
		{"classify": "UI_demo", "module": "", "demo": "suggest", "func": "", "desc": "", "url": "ccay/example/ui/dropdown/suggestion.html", "abet": ""}
		];

	var demoOptions = {
		editMode: false,
		showPager: false,
		rowRender: "group",
		rowRenderOp: {groupExpand: true},
	    columns: [
			{field: "classify", header: "类别", hidden: true, group: true},
			{field: "module", width:70, header: "模块", showTip: true},
			{field: "demo", width:90, header: "子模块", showTip: true},
			{field: "func", width:100, header: "功能点", showTip: true},
			{field: "desc", width:111, header: "描述", showTip: true},
			{field: "url", width:270, header: "链接地址", showTip: true, content: "<a class=\"ccay-link-btn\" onclick=\"Ccay.Page.forward('${url}')\">${url}</a>"},
			{field: "abet", width:95, header: "支持人员"}
	    ]
	};
	
	$("#demoNavigation").igrid(demoOptions, datas);
})
</script>